<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>登录</title>
    <!--semantic-ui-->
    <link rel="stylesheet" href="/static/css/style.css">
    <link rel="stylesheet" href="/static/layui/css/layui.css" th:href="@{/static/layui/css/layui.css}">
    <link rel="stylesheet" href="/static/css/admin.css" th:href="@{/static/css/admin.css}">
    <link rel="stylesheet" href="/static/css/login.css" th:href="@{/static/css/login.css}">
    <link id="layuicss-layer" rel="stylesheet" href="/static/css/layer.css" th:href="@{/static/css/layer.css}">
    <link href="https://cdn.bootcss.com/semantic-ui/2.4.1/semantic.min.css" rel="stylesheet">
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>
<script type="text/javascript">

    $(function(){
        var mydiv=$("#mydiv");
        var mydiv_resize=function(){
            $(mydiv).css("width",$(window).width());
            $(mydiv).css("height",$(window).height());
        };
        mydiv_resize();
        $(window).resize(function(){
            mydiv_resize();
        });
    });
</script>
<!--主容器-->
<div class="ui container" id="mydiv" th:style="' width: 100%; height:100%;'">

    <div class="ui segment" th:style="'margin: 0 auto; width: 80%; height:100%; background:url('+'/static/img/img1.png'+')  no-repeat center center;background-size: auto 100%;'">

        <div style="text-align: center;opacity:1;">
            <h1 class="header">疫情打卡系统</h1>
        </div>
        </br></br>
        <div class="ui placeholder segment" style="opacity:0.8;width: 100%;height: 250px;margin: 0 auto">
            <div class="ui column very relaxed stackable grid" style="opacity:1;" >
                <div class="column" style="opacity:1;">
                    <div class="ui form" style="opacity:1">
                        <form th:action="@{/doctor}" method="post">
                            <div class="field"  style="opacity:1;">
                                <label>workerID</label>
                                <div class="ui left icon input"  style="opacity:1;">
                                    <input type="text" name="docId" id="docId" lay-verify="required" placeholder="医生工号">
                                    <i class="user icon"></i>
                                </div>
                            </div>
                            <div class="field"  style="opacity:1;">
                                <label>password</label>
                                <div class="ui left icon input"  style="opacity:1;">
                                    <input type="password" name="password" id="password" lay-verify="required" placeholder="密码">
                                    <i class="lock icon"></i>
                                </div>
                            </div>
                            <input  style="opacity:1;" type="submit" class="ui blue submit button"/>
                            <center>
                                <div  style="opacity:1;" class="layui-form-item" th:text="'提示：'+${msg}" th:if="${not #strings.isEmpty(msg)}"></div>
                            </center>
                        </form>

                    </div>
                </div>
            </div>
        </div>

        </br>
        <div style="text-align: center; opacity:1;" >
            <div class="ui label" style="opacity:1;">
                <button><a href="http://localhost:8080/login">后台管理入口</a></button>
            </div></br>
            <small style="opacity:1; background: white">www.ycc.com</small>
        </div>
        </br>

        <div class="ui segment" style="text-align: center; opacity:0.8; width: 100%; margin: 0 auto">

            <h3 style="opacity:1;">
                疫情就是命令，防控就是责任</br>
            </h3>
        </div>
    </div>


</div>

<script src="/static/js/jquery-1.11.3.min.js" th:src="@{/static/js/jquery-1.11.3.min.js}"></script>
<script src="/static/layui/layui.js" th:src="@{/static/layui/layui.js}"></script>

</body>
</html>